home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Original Shareware 1.1
/
The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso
/
32
/
sot.zip
/
SOT.C
< prev
next >
Wrap
Text File
|
1988-08-25
|
581b
|
38 lines
/********** The Son of Tetris Project ************/
/* WRW August '88 V1.0 */
/***************** Main file ********************/
#include <setjmp.h>
#include "sot.h"
/* Global data */
int arena[BLW][BLH]; /* Where everything is stored */
SHP_TYPE *shp_lst;
int no_of_shapes;
jmp_buf end_game;
/* Main function */
main(int argc, char *argv[])
{
if (argc)
init_score(argv[0]);
init_shapes();
init_video();
if (!setjmp(end_game))
game();
end_video();
end_score();
return 0;
} /* main */